package script.functions

import com.tang.script.functions.ScriptFunction

@ScriptFunction(functionName = "明细行数")
static def countList(List list) {
    if(list == null || list.isEmpty()) return 0
    return list.size()
}